MobileCredentialHolder
The entry point for the MobileCredentialHolder SDK.
Functions
Add a mobile credential to storage.
Add trusted issuer certificates to storage.
Add trusted verifier certificates to storage.
Create an online presentation session compliant with the ISO 18013-7 and OpenID4VP.
Create a proximity based presentation session with a mobile credential verifier using device retrieval as per ISO/IEC 18013-5:2021.
Deinitialize the MobileCredentialHolder SDK.
Deletes a mobile credential from storage.
Delete a trusted issuer certificate from storage.
Delete a trusted verifier certificate from storage.
It is recommended to display the details of DiscoveredCredentialOffer on the app UI before calling the retrieveCredentials function.
Generate a device key for provisioning a new mobile credential.
Retrieve a specific mobile credential from the storage.
Retrieve all mobile credentials' metadata from storage.
Get the current proximity presentation session.
Retrieve all trusted issuer certificates from storage.
Retrieve all trusted verifier certificates from storage.
Initialize the MobileCredentialHolder SDK. The MobileCredentialHolder class is a singleton which can only be initialized with one instanceId at a time. After this initialize method has been called, all subsequent method calls in this class, such as getTrustedIssuerCertificates, will return a result unique to the specified instanceId.
A failure to retrieve, validate, or save a credential will NOT automatically cause a failure of other credential requests.